[XEND] Proper importing of Xen API VM Struct into new XendConfig
authorAlastair Tse <atse@xensource.com>
Fri, 1 Dec 2006 17:30:39 +0000 (17:30 +0000)
committerAlastair Tse <atse@xensource.com>
Fri, 1 Dec 2006 17:30:39 +0000 (17:30 +0000)
commit486d848417aae8583ae7676618010410a8305f1c
tree8393bd1b5b6d4e5bc1cc7a59555dbd6af0df89a7
parent123c8f3d8c7943aa492bb45eeec29dfe0dfb7e6e
[XEND] Proper importing of Xen API VM Struct into new XendConfig

Use a smarter method of importing the Xen API VM struct when adding to
XendConfig.

Also add a commented __setitem__ override for XendConfig to type check
certain configuration values.

Signed-off-by: Alastair Tse <atse@xensource.com>
tools/python/xen/xend/XendConfig.py